/*
 * gstreamer.h
 *
 *  Created on: 2010-9-30
 *      Author: jack
 */

#ifndef GSTREAMER_H_
#define GSTREAMER_H_
#include "../include/structs.h"

extern int init_pipeline(songinfo *headinfo);
extern int play();
extern int pause();
extern int stop();
extern int prev();
extern int next();
extern int destory_pipeline();
extern double get_volume();
extern int set_volume(double volumeval);
extern int get_time(char *formated_time,char *lyric_time);
extern char *get_song_id();
/*
double get_duration();
int seek_position(double position);
*/
#endif /* GSTREAMER_H_ */
